package com.allqj.sfx.ddd.member.domain.repository;

import com.allqj.sfx.ddd.member.domain.entity.flow.FlowTaskDef;

import java.util.List;

/**
 * @author sjw
 * @className FlowTaskDefRepository
 * @date 2022/7/21 9:36
 * @description: repository定义
 */
public interface FlowTaskDefRepository {
    FlowTaskDef save(FlowTaskDef flowTaskDef);
    List<FlowTaskDef> save(List<FlowTaskDef> flowTaskDefs);
    Integer deleteByFlowDef(Integer flowDefId);
    List<FlowTaskDef> taskDefs(Integer flowDefId);
}
